import request from "@/utils/request";

//获取所用用户详情信息
export const getUserInfoApi = () => {
  return request.get("/user/info");
};

//更具id修改用户的详情信息
export const updateUserInfoApi = (data) => {
  return request.post("/user/update", data);
};
 
//更具email删除用户
export const deleteUserByEmailApi = (data) => {
  return request.post("/user/deleteuser", data);
};

